package com.hrc.rpc.serialization;


import com.hrc.rpc.spi.ExtensionLoader;

public class SerializationFactory {


    public static RpcSerialization get(String serialization) {

        return ExtensionLoader.getInstance().get(serialization);

    }

    public static void init() {
        ExtensionLoader.getInstance().loadExtension(RpcSerialization.class);
    }
}
